<?php

/**
 * 友情链接
 *
 * @package         YDCMS
 * @author          QQ:644157559 <644157559@qq.com>
 * @version         $Id: FlinkModel.class.php v1.0 2014-06-23 17:27:03 $
 */
namespace Admin\Model;
class FlinkModel extends CommonModel{
    protected $_validate = array(
        array("webname", "require", "网站名称不能为空！", 1),
        array("url", "require", "网站链接不能为空！", 1),
        array("url", "url", "请填写正确网站链接地址！", 1),
        array("email", "email", "邮箱格式有误！", 2),
    );
    
    protected $_auto = array(
        array("subtime", "time", 1, "function"),
        array("sortrank", "intval", 3, "function"),
        array("status", "intval", 3, "function")
    );
}
